// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗   ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗  ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗ ██║██║   ██║   ██║   ██║██║     █████╗
// ██║╚██╗██║██║   ██║   ██║   ██║██║     ██╔══╝
// ██║ ╚████║╚██████╔╝   ██║   ██║╚██████╗███████╗
// ╚═╝  ╚═══╝ ╚═════╝    ╚═╝   ╚═╝ ╚═════╝╚══════╝
// ------------------------------------------------
//
// This file is automatically generated.
// Please do not edit these files manually.
//
// ------------------------------------------------

#nullable restore

using System;
using System.Linq;
using Elastic.Clients.Elasticsearch.Serialization;

namespace Elastic.Clients.Elasticsearch.Aggregations;

[System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Aggregations.Json.SamplerAggregationExecutionHintConverter))]
public enum SamplerAggregationExecutionHint
{
	/// <summary>
	/// <para>
	/// Hold hashes of the field values - with potential for hash collisions.
	/// </para>
	/// </summary>
	[System.Runtime.Serialization.EnumMember(Value = "bytes_hash")]
	BytesHash,
	/// <summary>
	/// <para>
	/// Hold ordinals of the field as determined by the Lucene index.
	/// </para>
	/// </summary>
	[System.Runtime.Serialization.EnumMember(Value = "global_ordinals")]
	GlobalOrdinals,
	/// <summary>
	/// <para>
	/// Hold field values directly.
	/// </para>
	/// </summary>
	[System.Runtime.Serialization.EnumMember(Value = "map")]
	Map
}